package ch7;
//教师测试
public class TeacherTest {
    public static void main(String[] args) {
        JavaTeacher j=new JavaTeacher("刘老师","男",30,10,"idea");
        UITeacher u=new UITeacher("张老师","女",26,5,"photoshop");
        NetTeacher n=new NetTeacher("李老师","男",40,15,"Visual studio");
        j.selfIntroduce();
        j.giveLession();
        u.selfIntroduce();
        u.giveLession();
        n.selfIntroduce();
        n.giveLession();
    }
}
